compression: add zstd compressor and decompressor#20434
compression: add zstd compressor and decompressor#20434mattklein123 merged 9 commits intoenvoyproxy:mainfrom
Conversation
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
I'm assigning this over to @rojkov as compression expert. Also, can you please provide some context and rational for this feature? In general for something this large we require sponsorship and an issue tracking the feature addition. Without sponshorship this will need to go into contrib. Thank you. |
Thanks for your help and reminder! I will provide the required information after fixing the CI error. |
aec29c2 to
23f2966
Compare
|
|
0703485 to
44e0edf
Compare
17c6902 to
f845d56
Compare
|
You can turn this PR into a draft until it's ready for review. After the PR is ready please avoid force-pushing. |
Thanks for your remind, done |
caaa029 to
6246571
Compare
|
I've discussed the feature with my colleagues. Intel needs it as a benchmark for the upcoming zSTD acceleration in QuickAssist HW and is willing to support it together with ByteDance. @rainingmaster Could you please file an issue for the feature, so I could state my sponsorship? |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
/lgtm api |
mattklein123
left a comment
There was a problem hiding this comment.
Thanks LGTM with tiny comment.
/wait
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: rainingmaster <jinhua.tan@bytedance.com>
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: rainingmaster <jinhua.tan@bytedance.com>
|
Hi, @mattklein123 . I think we are very close now, could you help me review again? Thanks! |
Signed-off-by: rainingmaster <jinhua.tan@bytedance.com> Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>
Signed-off-by: rainingmaster <jinhua.tan@bytedance.com>
Hi! We are from the Service Mesh team at ByteDance and are excited to have the opportunity to contribute to Envoy. Zstd is Facebook's open source compression algorithm, and it is getting more and more attention. In ByteDance's Service Mesh, zstd is also being used more and more. Therefore, we hope envoy can integrate this algorithm and let more people use it.
Commit Message: compression: add zstd compressor and decompressor
Additional Description: Like #12998, add new zstd(alson name as Zstandard) compression extensions in addition to gzip, brotli.
Risk Level: Low, add
contextfor createCompressorFactoryFromProtoTyped in exist code.Testing: uni tests, manual tests with curl.
Docs Changes: updated docs for compression and decompression HTTP filters to refer the new available encoder/decoder.
Release Notes: updated current.rst
The PR adds a new dependency on https://github.com/facebook/zstd. Here's the current criteria answers: